<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // axios 是什么? 基于 Promise 和 XMLHttpRequest 的工具包
    // Promise based HTTP client for the browser and node.js
    // axios 是基于 HTTP 客户端为了浏览器和 Node.js

    //axios
    /*
    1. 用法
      * axios()
        * axios({}) ;// 配置对象
      * axios.get(); //√ 重点
        * axios.get();  axios.delete();
          * axios.get(url, config)
        * axios.post()  axios.put()  axios.patch()
          * axios.post(url, data, config)
            * data 
              * JSON          
              * querystring

    */

  </script>
</body>
</html>